Provides iconSuite
data for a given icon family.
pascal OSErr IconFamilyToIconSuite(
IconFamilyHandle iconFamily,
IconSelectorValuewhichIcons,
IconSuiteRef*iconSuite);
iconFamily
A handle to an iconFamily
data structure to use as a source for icon data. For more information on the IconFamily data structure, see
Figure 2-1
.
whichIcons
A value of type IconSelectorValue
specifying the depths and sizes of icons to extract from the IconFamily data structure. For a description of the possible values, see
Icon Selector Constants
.
iconSuite
A pointer to an IconSuite
data structure. On return, this structure contains icon data as specified in the iconFamily
and whichIcons
parameters. Icon Services returns NULL
if no appropriate icon data is found.